<template>
  <div class="swiper_container">
    <mt-swipe :auto="4000">
      <mt-swipe-item v-for="item in dataList" :key="item.key">
        <img :src="item.img" alt :class="{'full':isFull}">
      </mt-swipe-item>
    </mt-swipe>
  </div>
</template>


<script>
export default {
  props: ["dataList","isFull"]
};
</script>

<style lang="less" scoped>
.swiper_container {
    text-align: center;
  .mint-swipe {
    height: 200px;
    .mint-swipe-item {
      img {
        height: 100%;
        
      }
    }
  }
}
.full{
    width: 100%;
}
</style>
